package itheima.com.Standard;

import java.io.*;

public class InputStreamReader_ {

    public static void main(String[] args) throws IOException {

        String filePath = "D:\\一条小团团\\xiao.txt";
        InputStreamReader isr = null;

//            try {
        isr = new InputStreamReader(new FileInputStream(filePath),"UTF-8");
        BufferedReader bufferedReader = new BufferedReader(isr);
        String s = bufferedReader.readLine();
        System.out.println("读取的字符串"+s);



//            } catch (IOException e) {
//                throw new RuntimeException(e);
//            }


    }



}
